import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router';
const router=createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            name: '/',
            redirect: '/login'
        },
        {
            path: '/login',
            name: 'login',
            component: () => import("../views/login.vue")
        },
        {
            path: '/map',
            name: 'map',
            component: () => import("../map.vue")
        },
        {
            path: '/dgtmap',
            name: 'dgtmap',
            component: () => import("../digitalmap.vue")
        },
    ]
})
export default router;